﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TreeViewStudy.aspx.cs" Inherits="WebDemo.TreeViewStudy" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    
    <form id="form1" runat="server">
    <div>
        <asp:TreeView ID="TreeView1" runat="server" 
            ontreenodepopulate="TreeView1_TreeNodePopulate" ShowCheckBoxes="All">
            <Nodes>
                <asp:TreeNode Text="New Node" Expanded="false" Value="New Node" PopulateOnDemand="true">
                </asp:TreeNode>
            </Nodes>
    </asp:TreeView>
        <br />
        <br />
        <asp:Literal ID="Literal1" runat="server"></asp:Literal><br/>
        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" />
    </div>
    </form>
</body>
</html>
